package com.ymatou.productstock.api.testcase;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.experimental.categories.Category;

import com.ymatou.productstock.api.service.ReturnProductActivityStockCall;
import com.ymt.core.tool.Logger;
import com.ymt.utils.annotation.TestCase;
import com.ymt.utils.tag.P1;

public class Ts_ReturnProductActivityStock {
	
	private static ReturnProductActivityStockCall returnProductActivityStockCall = new ReturnProductActivityStockCall();
	
	
	@BeforeClass
	public static void setUp() {
		Logger.createResultFile("促销结束解锁活动库存");
	}

	@Before
	public void caseUp() {
	}

	@AfterClass
	public static void tearDown() {
		Logger.generateResult(returnProductActivityStockCall.getOpurl());
	}
	
	@After
	public void caseDown() {
		Logger.end();
	}

	
	@Test
	@Category({P1.class})
	@TestCase
	public void Tc_ReturnProductActivityStock_001() {
		Logger.start(true, "促销结束解锁活动库存");
		Logger.comment("促销结束解锁活动库存 - Test in Ts_AllocateProductActivityStock->Tc_AllocateProductActivityStock_001");
	}
}
